package com.xindacloud.sms.adapter.controller;

import com.xindacloud.sms.adapter.service.notify.impl.SubmitSmsNotifyServiceImpl;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@Api(tags = {"同步运营商价格接口模块"})
@RestController
@RequestMapping(value = "/api/v1/adapter/sms/pricing")
@Deprecated
public class PricingController {


    private final SubmitSmsNotifyServiceImpl submitSmsNotifyServiceImpl;

    @Autowired
    public PricingController(SubmitSmsNotifyServiceImpl submitSmsNotifyServiceImpl) {
        this.submitSmsNotifyServiceImpl = submitSmsNotifyServiceImpl;
    }

    @ApiOperation(value = "根据短信平台同步价格")
    @GetMapping("/agentId/{agentId}")
    public Object syncPrice(@PathVariable(value = "agentId", name = "agentId") String agentId,
                            @ApiParam(name = "token", value = "请求token", required = true)
                            @RequestHeader(name = "token") String token,
                            @ApiParam(name = "password", value = "密码", required = true)
                            @RequestHeader(name = "password") String password) {
        return null;
    }


}
